import { Directive, ElementRef } from '@angular/core';

@Directive({
    selector: '[cmbDeviceSize]'
})
export class DeviceSizeDirective {

    constructor(element: ElementRef) {
        $(element.nativeElement).height(window.screen.availHeight);
        $(element.nativeElement).width(window.screen.availWidth);
    }
}
